package com.texplose.service;

import com.texplose.entity.User;
import com.texplose.entity.vo.ResponseResult;
import com.texplose.entity.vo.UserInfoVo;
import org.apache.ibatis.annotations.Param;

public interface UserService {
    ResponseResult register(User user);

    ResponseResult deleteUser(Integer userId);

    ResponseResult updatePasswordByEmail(User user);

    ResponseResult adminLogin(User user);

    ResponseResult login(User user);

    ResponseResult getUserById(Integer userId);

    ResponseResult selectAllUser();

    ResponseResult wxLogin(User user);

    ResponseResult wxRegister(User user);

    ResponseResult getUserInfo(int id);

    ResponseResult findAll(int pageNum,int pageSize);

    ResponseResult updateAvatarById(Integer id, String avatarUrl);

    Boolean checkUser(User user);

    ResponseResult updateUserInfo(UserInfoVo userInfo);

    ResponseResult resetPwdByUserId(User user);

}
